package com.bootdo.system.domain;/**
 * @ClassNameLogDO
 * @Description 日志实体类
 * @Author liuxiaolong
 * @Date2021/2/28 19:26
 * @Version V1.0
 **/

import java.util.Date;

/**
 * All rights Reserved, Designed By liuxiaolong 
 * @Title: LogDO
 * @Package com.bootdo.system.domain
 * @Description: 日志实体类(用一句话描述该文件做什么)
 * @author: liuxiaolong
 * @date: 2021/2/28 19:26 
 * @version V1.0
 */
public class LogDO {

    private Integer id;
    private Integer userId;
    private Integer time;
    private String username;
    private String operation;
    private String method;
    private String params;
    private String ip;
    private Date gmtCreate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public String toString() {
        return "LogDO{" +
                "id=" + id +
                ", userId=" + userId +
                ", time=" + time +
                ", username='" + username + '\'' +
                ", operation='" + operation + '\'' +
                ", method='" + method + '\'' +
                ", params='" + params + '\'' +
                ", ip='" + ip + '\'' +
                ", gmtCreate=" + gmtCreate +
                '}';
    }
}
